package com.qf.cloud2204.coupons.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author zxz
 * @since 2023-05-19
 */
@Data
public class Coupon implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 优惠券id
     */

    @TableId
    private String id;

    /**
     * 批次号
     */
    private String batchId;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 使用范围
     */
    private String scope;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    /**
     * 过期时间
     */
    private LocalDateTime expireTime;

    /**
     * 是否已领取
     */
    private String isReceived;


}
